package com.jtcoding.auditlog.annotation;

import com.jtcoding.auditlog.common.enums.Action;

import java.lang.annotation.*;

/**
 * @author jason.tang
 * @create 2019-01-21 15:08
 * @description
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AuditAction {
    /**
     * 操作类型
     */
    Action action() default Action.GET;

    /**
     * 目标table
     */
    String targetTable() default "";
}
